/**
 * Created by baidm in 2022/4/10 on 11:44
 */
enum EDirection {
  UP, DOWN, LEFT, RIGHT
}

// 常量枚举
const enum EColor {
  RED, YELLOW, GREEN
}

if (EColor.RED === 0) {
  console.log(1)
}
